PointOfInterestPilotingItf

Point Of Interest piloting interface for copters.

During a piloted Point Of Interest, the drone always points towards the given Point Of Interest but can be piloted normally. However, yaw value is not settable.

There are multiple variants of piloted Point Of Interest:

This piloting interface can be obtained from a drone using:
drone.getPilotingItf(PointOfInterestPilotingItf.class)

See also

com.parrot.drone.groundsdk.device.Drone

Types

Link copied to clipboard
enum Issue
Issue that may render this piloting interface unavailable.
Link copied to clipboard
enum Mode
Point Of Interest operating mode.
Link copied to clipboard
interface PointOfInterest
A Point Of Interest to look at.

Functions

Link copied to clipboard
abstract fun deactivate(): Boolean
Deactivates this piloting interface.
Link copied to clipboard
Tells why this piloting interface is currently unavailable.
Link copied to clipboard
Retrieves the current targeted Point Of Interest.
Link copied to clipboard
Gets the piloting interface's current state.
Link copied to clipboard
abstract fun setPitch(@IntRange(from = "-100", to = 100) value: Int)
Sets the current pitch value.
Link copied to clipboard
abstract fun setRoll(@IntRange(from = "-100", to = 100) value: Int)
Sets the current roll value.
Link copied to clipboard
abstract fun setVerticalSpeed(@IntRange(from = "-100", to = 100) value: Int)
Set the current vertical speed value.
Link copied to clipboard
abstract fun start(latitude: Double, longitude: Double, altitude: Double)
Starts a piloted Point Of Interest in locked gimbal mode.
abstract fun start(latitude: Double, longitude: Double, altitude: Double, @NonNull mode: PointOfInterestPilotingItf.Mode)
Starts a piloted Point Of Interest.